import { request } from '@/utils/request';
import CRUD from '@/utils/request/CRUD';

// 消息组CRUD
export const messageGroupCRUD = CRUD('/system/message-group-config');

// 引入部门数据
export function importDeptData(data: Record<string, any>) {
  return request.post({
    url: '/system/message-group-config/pull-dept-data',
    data,
  });
}
